-- GENERATED SPELL FOR [Crazed Colossus] --


function spell0_19823(pUnit, Event) --@Quest Credit: Crazed Colossus,n/a--
pUnit:FullCastSpellOnTarget(38223,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19823', 640, 1)
end

function Sorts_19823(pUnit, Event)
local choix_sorts_19823 = math.random(0, 0)
if choix_sorts_19823 == 0 then
pUnit:RegisterEvent('spell0_19823', 1, 1)
end
end

function mob19823_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19823', math.random(1500, 3000), 1)
end

function mob19823_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19823_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19823_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19823, 1, 'mob19823_Action')
RegisterUnitEvent(19823, 2, 'mob19823_Leave')
RegisterUnitEvent(19823, 3, 'mob19823_Kill')
RegisterUnitEvent(19823, 4, 'mob19823_Die')
